home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_tem_waterfallamb.cog < prev    next >
Text File  |  1999-11-15  |  900b  |  48 lines

  1. # Jones 3D Cog Script
  2. #
  3. # TEM_WaterfallAmb.cog
  4. #
  5. # Plays ambient waterfall sound
  6. #
  7. # [TRM]
  8. #
  9. # (C) 1998 LucasArts Entertainment Co. All Rights Reserved
  10. # ========================================================================================
  11. symbols
  12.  
  13.     message        startup
  14.     message        timer
  15.     
  16.     thing        ghost
  17.  
  18.     sound        waterfall=gen_waterfall_a.wav       local
  19.  
  20.     float        minDist=-1
  21.     float        maxDist=-1
  22.     float        vol=1.0
  23.  
  24. end
  25.  
  26. # ========================================================================================
  27.  
  28. code
  29.  
  30. startup:
  31.  
  32.     SetTimer(0.5);
  33.     
  34.     return;
  35.  
  36. # ========================================================================================
  37.  
  38. timer:
  39.  
  40.     PlaySoundThing(waterfall, ghost, vol, minDist, maxDist, 0x0001);
  41.         
  42.     return;
  43.  
  44. # ========================================================================================
  45.  
  46. end
  47.  
  48.